<template>
    <div class="container" :class="{ 'dark': isDark }">
        <!-- 左侧：Breadcrumb 和 Tag -->
        <div class="left-section">
            <Breadcrumb />
            <Tag />
        </div>

        <!-- 右侧：Optional（语言选择按钮） -->
        <div class="right-section">
            <Optional />
        </div>
    </div>
</template>

<script setup>
import Optional from '@/components/Optional.vue';
import Breadcrumb from '@/components/Breadcrumb.vue';
import Tag from '@/components/Tag.vue';
</script>

<style scoped>
.container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background-color: var(--header-bg-color);
    color: var(--header-text-color);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.container.dark {
    background-color: var(--header-bg-color);
    color: var(--header-text-color);
}

.left-section {
    display: flex;
    /* align-items: center; */
    flex-direction: column;
    gap: 16px;
}

.right-section {
    width: 20%;
    display: flex;
    align-items: center;
}
</style>